﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using thousandclear.Data;
using thousandClear.Areas.Admin.Models;

namespace thousandClear.Areas.Shop.Models
{
    public class MainViewModel
    {
        public MainViewModel()
        {
            Goods = new List<D_ShopGood>();
        }
        public decimal TotalPoint { get; set; }

        public List<D_ShopGood> Goods { get; set; }
        public string OpenId { get; set; }
        public List<D_Point> Points { get; set; }
        public List<D_Order> Orders { get; set; }
    }

    public class D_Point
    {
        public string TimeStamp { get; set; }
        public decimal UsePoint { get; set; }
        public decimal GetPoint { get; set; }
    }

    public class D_Order
    {
        public string OrderId { get; set; }
        public string GoodImgUrl { get; set; }
        public string GoodName { get; set; }
        public string Amount { get; set; }
        public string OpenId { get; set; }
    }
}